import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { TokenService } from 'src/token/token.service';

@Injectable()
export class UploadService {
  constructor(private tokenService: TokenService) {}

  async refreshToken(data): Promise<any> {
    return this.tokenService.create(data);
  }
}
